package com.appkubes.portal.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.portal.core.dao.BasePortalAppRoleDao;
import com.appkubes.portal.core.entity.PortalAppRole;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

public interface BasePortalAppRoleService extends AbstractBaseService<BasePortalAppRoleDao, PortalAppRole> {

    PortalAppRole getOneByEntity(PortalAppRole entity);

    List<PortalAppRole> selectListByEntity(PortalAppRole entity);

    IPage<PortalAppRole> selectPageByEntity(IPage<PortalAppRole> page);
    IPage<PortalAppRole> selectPageByEntity(PageVO pageVO);

    IPage<PortalAppRole> selectPageByEntity(PortalAppRole entity, IPage<PortalAppRole> page);
    IPage<PortalAppRole> selectPageByEntity(PortalAppRole entity, PageVO pageVO);

    IPage<PortalAppRole> selectPageByEntity(PortalAppRole entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(PortalAppRole entity);
}
